package com.ht.em;

public enum ResultEnum {
    NO_LOGIN(10001,"未登录"),
    ERROR(9999,"操作失败"),
    ARGS_FAILE(10002,"参数不正确"),
    ERROR_NAME(10003,"账号不存在"),
    ERROR_PASSWORD(10004,"密码错误"),
    NAME_REPEAT(10005,"名称重复,请更换"),
    NO_EXAMINE(10006,"审核未通过"),
    NO_VERIFY(10007,"请重新获取验证码"),
    CANCEL_LIKE(10008,"点赞已取消"),
    TRAFFIC_TOO(10009,"当前网站访问量过大,请稍后重试"),
    DID_NOT_SEND(10010,"未发送验证码"),
    CODE_MISMATCHING(10011,"验证码不一致"),
    SUCCESS(10000,"操作成功"),
    FEIGN_FALLBACK(10010,"OpentFeign调用失败"),
    QUERY_NULL(10013,"没有查询到符合条件的数据"),
    AUDIT_SUCCEED(10012,"审核通过"),
    EXISTING_SCHEDULE(10013,"此医生已有该排期"),
    NO_SCHEDULE(10014,"此医生没有该排期"),
    EXCEED_MAXVALUE(10015,"排期超过最大范围");
    private Integer status;
    private String statusInfo;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusInfo() {
        return statusInfo;
    }

    public void setStatusInfo(String statusInfo) {
        this.statusInfo = statusInfo;
    }

    ResultEnum(Integer status, String statusInfo) {
        this.status = status;
        this.statusInfo = statusInfo;
    }
}
